wayland: Use wl_compositor_get_version()
authorBenjamin Otte <otte@redhat.com>
Fri, 31 Mar 2023 23:28:46 +0000 (01:28 +0200)
committerBenjamin Otte <otte@redhat.com>
Sat, 1 Apr 2023 00:22:21 +0000 (02:22 +0200)
commitc7499a33fd07425b635d54105220267f1e4f2224
treecb20700ba1cb76d5c3ded34fddf325a321fb2fbd
parentc97b4893163a734655ef4b11eb99308718ba769c
wayland: Use wl_compositor_get_version()

Wayland has functions to check versions, so use those.
gdk/wayland/gdkdisplay-wayland.c
gdk/wayland/gdkdisplay-wayland.h
gdk/wayland/gdkseat-wayland.c
gdk/wayland/gdksurface-wayland.c